package com.mobilepay.moneypig.model.activity.group;

import android.graphics.Color;
import android.os.Bundle;
import android.view.View;
import android.widget.RelativeLayout;

import com.githang.statusbar.StatusBarCompat;
import com.mobilepay.moneypig.R;
import com.mobilepay.moneypig.base.BaseActivity;

/**
 * Created by xlm on 2017/9/5 0005
 */

public class GroupTypeActivity extends BaseActivity {
    private RelativeLayout mRelativeTitle;

    @Override
    protected void onSetContentView() {
        setContentView(R.layout.activity_group_type);
    }

    @Override
    protected void initViews() {
        mRelativeTitle = (RelativeLayout) findViewById(R.id.group_type_title);
        StatusBarCompat.setStatusBarColor(getThis(), Color.parseColor("#e46641"));
    }

    @Override
    protected void afterOnCreate(Bundle savedInstanceState) {

    }

    @Override
    protected void onSetListener() {
        mRelativeTitle.setOnClickListener(this);
    }

    @Override
    public void onClick(View v) {
        switch (v.getId()) {
            case R.id.group_type_title:
                finish();
                break;
        }
    }
}
